Back

IPv6 devices can assign IP addresses to themselves.

This is known as "Stateless Addressing"

The protocol is SLAAC (Stateless Address Autoconfiguration)

DAD (Duplicate Address Detection) ensures that duplicate IPs are not used

NDP (Neighbor Discovery Protocol) - Discover other devices on a network

NDP also allows us to discover routers:

How SLAAC Works

  1. Device determines what subnet it is on using RS through NDP
  2. Router responds with an RA, device now knows the 64-bit subnet prefix
  3. Last 64 bits are often made from the device's MAC addresses with "ff:fe" in the middle or randomized
  4. Before using the IP, DAD is used to check the network if that IP is being used